Skip to content

feat: add font customization options in SettingsTab#156

Open
list-jonas wants to merge 3 commits intoNoRiskClient:v3from
list-jonas:dev/typography
Open

feat: add font customization options in SettingsTab#156
list-jonas wants to merge 3 commits intoNoRiskClient:v3from
list-jonas:dev/typography

Conversation

@list-jonas
Copy link
Copy Markdown

@list-jonas list-jonas commented Sep 11, 2025

What changed

  • Added headerFontPreset, textFontPreset, and fontSize to theme store with apply methods
  • Added “Typography” section in Appearance settings with separate Header font and Text font selectors
  • Applied fonts via CSS variables: --font-minecraft (headers) and --font-minecraft-ten (text)
  • Persisted and re-applied on rehydrate via norisk-theme-storage

Why

  • Accessibility
  • Personal Pref.

Testing

  • Verified header and text fonts update live via Appearance settings
  • Verified base font size updates body text and persists across relaunch
  • Confirmed headings use header preset; body and UI text use text preset
  • Verified font rendering in MacOS and Windows
image image image image image image image

@copyandexecute
Copy link
Copy Markdown
Contributor

lol this is 🔥 @enricoxD @Alex1607

@copyandexecute
Copy link
Copy Markdown
Contributor

@Deadmake could you please check if the pr is fine?

@copyandexecute
Copy link
Copy Markdown
Contributor

grafik it still needs work ig

@eclipse4dev
Copy link
Copy Markdown

Damn it, i wanted to do the same.. maybe i could upgrade it some day

@list-jonas
Copy link
Copy Markdown
Author

list-jonas commented Sep 21, 2025

image

The launch button required some changes that I wasn’t comfortable making earlier, but it’s fixed now. This involved resetting a negative margin that was originally set with Tailwind, which I handled using custom CSS.

@eclipse4dev
Copy link
Copy Markdown

Btw. Seems Like you can compile the NoRisk Launcher, can you Help Mr compile mine? i Always get OS Error 8 (Wrong formated data) (i use Linux)

@copyandexecute
Copy link
Copy Markdown
Contributor

Could you code it so that ANY font from the operating system could be selected? Also, we'd need to look at lowercase... The feature is cool, but it still needs some work, because where we used font-minecraft the font is sometimes too large for normal fonts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants